<template>
    <div>
        {{isActive?'active':'not active'}}
        {{date}}

    </div>
</template>
<script>
export default {
    name:'bind',
    data() {
        return {
            isActive:true,
            date:Date.now()
        }
    },
    mounted(){
        setInterval(()=>{
            this.date=new Date()
        },10)
    }
}
</script>

<style scoped>

</style>
